<?xml version="1.0" encoding="UTF-8"?>
<!--
    Document   : Teste
    Created on : 05/06/2009, 10:48:03
    Author     : Administrador
-->
<jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:ice="http://www.icesoft.com/icefaces/component" xmlns:jsp="http://java.sun.com/JSP/Page">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <ice:outputHtml id="outputHtml1">
            <ice:outputHead id="outputHead1">
                <ice:outputStyle href="./resources/stylesheet.css" id="outputStyle1"/>
                <ice:outputStyle href="./xmlhttp/css/rime/rime.css" id="outputStyle2"/>
                <ice:outputStyle href="./resources/css/formata_conteudo.css" id="outputStyle3"/>
            </ice:outputHead>
            <script>

                function campoObrigatorio(celula){
                    if(celula.value==""){
                        celula.style.backgroundColor="#dddddd";
                    }else{
                        celula.style.backgroundColor="#f5f5f5";
                    }
                }
            </script>
            <ice:outputBody id="outputBody1" style="-rave-layout: grid">
                <ice:form id="form1">
                    <!-- Painel Principal -->
                    <ice:panelGroup id="painelPrincipal" styleClass="principal">
                        <!-- Painel Cabeçalho -->
                        <ice:panelLayout id="panelLayoutCabecalho" style=" -rave-layout: grid" styleClass="cabecalho">
                            <ice:commandButton action="#{view$CadastrarUsuario.panelLayoutLogo_action}" id="panelLayoutLogo"
                                image="/resources/images/logo_soligee.png" immediate="true" partialSubmit="true" styleClass="logo"/>
                        </ice:panelLayout>
                        <!-- Painel Titulo -->
                        <ice:panelLayout id="panelLayoutTitulo" style=" -rave-layout: grid" styleClass="titulo usuario">
                            <!-- Painel Voltar -->
                            <ice:panelLayout id="painelVoltar" style="height: 54px; right:10px; top: 5px; position: absolute; width: 54px">
                                <ice:commandButton action="#{view$CadastrarUsuario.btn_voltar_action}" id="btn_voltar" image="/resources/images/btn/voltar.png"
                                    immediate="true" partialSubmit="true" styleClass="btnVoltar"/>
                            </ice:panelLayout>
                            <!-- Fim Painel Voltar -->
                        </ice:panelLayout>
                        <!-- Fim Painel Cabeçalho -->
                        <!-- Painel Conteúdo -->
                        <ice:panelLayout id="painelConteudo" layout="flow" styleClass="conteudo">
                            <!-- Painel Caixa de Conteúdo -->
                            <ice:panelLayout id="painelCxConteudo" styleClass="cxConteudo">
                                <ice:panelLayout id="cxConteudoTopo" styleClass="cxConteudoTopo"/>
                                <!-- Painel Abas -->
                                <ice:panelLayout id="painelAbas" styleClass="pnAbaCadastro">
                                    <!-- Colocar TabSet Aqui -->
                                    <ice:panelTabSet id="painelAbasUsuario" styleClass="pnTbSetCadastro" tabPlacement="Top">
                                        <!--Aba Dados Pessoais -->
                                        <ice:panelTab id="aba01" label="Usuario">
                                            <ice:panelLayout id="conteudoAbaUsuario" layout="flow" styleClass="pnLayCadastro">
                                                <ice:panelLayout id="panelLayoutA1" layout="flow" styleClass="pnLayForm">
                                                <!--Código -->
                                                <ice:outputLabel id="tx_codigo" styleClass="rotulo pq" value="Cód."/>
                                                <ice:inputText binding="#{view$CadastrarUsuario.campoCodigo}" id="campoCodigo" partialSubmit="true"
                                                    readonly="true" required="true" styleClass="entradaTxt pq"/>
                                                <!--Nome Completo -->
                                                <ice:outputLabel id="tx_nomeUsuario" styleClass="rotulo gd" value="Nome Completo (*):"/>
                                                <ice:inputText binding="#{view$CadastrarUsuario.campoNomeUsuario}" id="campoNomeUsuario"
                                                    onkeypress="style.backgroundColor='white';" partialSubmit="true"
                                                    styleClass="entradaTxt gd" title="Insira o Nome do Usuário."/>
                                                <!--Nível -->
                                                <ice:outputLabel id="tx_nivelCadastrarUsuario" styleClass="rotulo" value="Nível: "/>
                                                <ice:selectOneMenu binding="#{view$CadastrarUsuario.nivelUsuario}" id="nivelUsuario" partialSubmit="true"
                                                    styleClass="entradaTxt" title="Selecione o Nível do Usuário." value="#{view$CadastrarUsuario.selectOneMenu1Bean.selectedObject}">
                                                    <f:selectItems id="selectOneMenu1selectItems" value="#{view$CadastrarUsuario.selectOneMenu1DefaultItems}"/>
                                                </ice:selectOneMenu>
                                                </ice:panelLayout>
                                                <ice:panelLayout id="panelLayoutA2" layout="flow" styleClass="pnLayForm2">
                                                 <!--Login-->
                                                <ice:outputLabel id="tx_loginCadastrarUsuario" styleClass="rotulo" value="Login (*):"/>
                                                <ice:inputText binding="#{view$CadastrarUsuario.campoLogin}" id="campoLogin" maxlength="20"
                                                    onkeypress="style.backgroundColor='white';" partialSubmit="true"
                                                    styleClass="entradaTxt" title="Insira o Login do Usuário."/>
                                                <!--Senha -->
                                                <ice:outputLabel id="tx_senhaCadastrarUsuario" styleClass="rotulo" value="Senha (*):"/>
                                                <ice:inputSecret binding="#{view$CadastrarUsuario.campoSenha}" id="campoSenha" maxlength="10"
                                                    onkeypress="style.backgroundColor='white';" partialSubmit="true" redisplay="true"
                                                    styleClass="entradaTxt" title="Insira a Senha do Usuário."/>
                                                <!-- Confirma Senha  -->
                                                <ice:outputLabel id="tx_confirmaSenha" styleClass="rotulo gd" value="Confirmação de Senha (*):"/>
                                                <ice:inputSecret binding="#{view$CadastrarUsuario.campoConfirmaSenha1}" id="campoConfirmaSenha1"
                                                    partialSubmit="true" redisplay="true" styleClass="entradaTxt" title="Confirme a Senha do Usuário."/>
                                                
                                                </ice:panelLayout>
                                                <!-- Botão -->
                                                <ice:commandButton action="#{view$CadastrarUsuario.btn_cadastrar_action}"
                                                    binding="#{view$CadastrarUsuario.btn_cadastrar}" id="btn_cadastrar" immediate="true" styleClass="gravarBtn"/>
                                                <!-- Link Cancelar -->
                                                <ice:commandLink action="#{view$CadastrarUsuario.linkCancelar_action}" id="linkCancelar" immediate="true" styleClass="cancelarBtn"/>
                                            </ice:panelLayout>
                                        </ice:panelTab>
                                    </ice:panelTabSet>
                                </ice:panelLayout>
                                <!--Fim - Painel Abas -->
                            </ice:panelLayout>
                            <!-- Aviso Loading -->
                            <ice:outputConnectionStatus id="outputConnectionStatus1" styleClass="carregando"/>
                            <!--Campos Obrigatorios -->
                            <ice:outputLabel id="camposObrigatoriosAba01" styleClass="txtPequeno" value="(*) = Campo obrigatório"/>
                            <ice:panelLayout id="cxConteudoBaixo" styleClass="cxConteudoBaixo"/>
                            <!--Fim - Painel Caixa de Conteudo -->
                            <!-- Painel Rodapé -->
                            <ice:panelLayout id="painelRodape" layout="flow" styleClass="boxRodape">
                                <ice:panelLayout id="painelRodapeEsq" styleClass="esqRodape"/>
                                <ice:panelLayout id="logoRodape" styleClass="logoRodape"/>
                                <ice:panelLayout id="painelRodapeDir" styleClass="dirRodape"/>
                            </ice:panelLayout>
                            <!-- Fim Painel Rodapé -->
                        </ice:panelLayout>
                        <!--Fim - Painel Conteúdo -->
                    </ice:panelGroup>
                    <!--Fim - Painel Principal -->
                    <!--Inicio - Janela Pop-up -->
                    <ice:panelPopup autoCentre="true" binding="#{view$CadastrarUsuario.panelPopup}" draggable="true" id="panelPopup" modal="true"
                        rendered="#{view$CadastrarUsuario.panelPopup1Bean.showDraggablePanel}" style="left: 348px; top: 448px; position: absolute"
                        styleClass="jpopup" visible="#{view$CadastrarUsuario.panelPopup1Bean.showModalPanel}">
                        <f:facet name="header">
                            <ice:outputText id="outputText1" value="Atenção"/>
                        </f:facet>
                        <f:facet name="body">
                            <ice:panelGroup id="panelPopBody" styleClass="jpopBody">
                                <ice:panelLayout id="panelPopTxt" styleClass="jpopTxt">
                                    <ice:outputText binding="#{view$CadastrarUsuario.textoPopUp}" id="textoPopUp" value="body text"/>
                                </ice:panelLayout>
                                <ice:panelLayout id="panelPopBtn" styleClass="jpopBtn">
                                    <ice:commandButton action="#{view$CadastrarUsuario.btnPopUp1_action}" binding="#{view$CadastrarUsuario.btnPopUp1}"
                                        id="btnPopUp1" immediate="true" value="submit"/>
                                    <ice:commandButton action="#{view$CadastrarUsuario.btnPopUp2_action}" binding="#{view$CadastrarUsuario.btnPopUp2}"
                                        id="btnPopUp2" immediate="true" value="submit"/>
                                </ice:panelLayout>
                            </ice:panelGroup>
                        </f:facet>
                    </ice:panelPopup>
                    <!--Fim - Janela Pop-up -->
                </ice:form>
            </ice:outputBody>
        </ice:outputHtml>
    </f:view>
</jsp:root>
